import Mock from "mockjs";

// 引用所有的假数据文件
import user from "./user";
import menulist from "./menulist";

const mocks = [...user, ...menulist];
for (const i of mocks) {
  Mock.mock(new RegExp(i.url), i.method || "get", i.response);
}
